﻿@inherits BAdminDialogBase
<BForm @ref="form">
    <BFormItem TValue="string" Name="@nameof(AdvModel.CreateModel.Url)" Label="地址" IsRequired="true">
        <BInput TValue="string"></BInput>
    </BFormItem>
    <BFormItem TValue="IFileModel[]" Name="@nameof(AdvModel.CreateModel.Image)" Label="图片" IsRequired="true">
        <BUpload Url="/api/upload" UploadType="UploadType.Image"></BUpload>
    </BFormItem>
    <BFormActionItem>
        <BButton Type="ButtonType.Primary" Text="创建" OnClick="CreateAsync">
        </BButton>
    </BFormActionItem>
</BForm>